package com.task5.entity;

public class User {
	private int id;
	private String sname;
	private String spassword;
	private String stelphone;
	private String saddress;

	public User() {
	}
	
	public String getPKName() {
		return "id";
	}
	
	public User(String sname, String spasswd) {
		this.sname = sname;
		this.spassword = spasswd;
	}
	
	public User(String sname, String spasswd,String stelphone,String address) {
		this.sname = sname;
		this.spassword = spasswd;
		this.stelphone = stelphone;
		this.saddress = address;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSpassword() {
		return spassword;
	}

	public void setSpassword(String spassword) {
		this.spassword = spassword;
	}

	public String getStelphone() {
		return stelphone;
	}

	public void setStelphone(String stelphone) {
		this.stelphone = stelphone;
	}

	public String getSaddress() {
		return saddress;
	}

	public void setSaddress(String saddress) {
		this.saddress = saddress;
	}
}
